package cn.kinoko.model.manga.constant;

import cn.kinoko.common.base.model.BaseEnum;

/**
 * @author kinoko
 */
public enum MetricsType implements BaseEnum<Integer> {
    VIEW(1, "浏览量"),
    LIKE(2, "点赞量")
    ;

    MetricsType(Integer code, String description) {
        this.code = code;
        this.description = description;
    }

    private final Integer code;
    private final String description;

    @Override
    public Integer getCode() {
        return code;
    }

    @Override
    public String getDesc() {
        return description;
    }
}
